using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("MobilePhoneOperators")]
    public partial class MobilePhoneOperator
    {
        [Required]
        [StringLength(3)]
        [Key, Column(Order = 0)]
        public string MCC { get; set; }

        [Required]
        [StringLength(3)]
        [Key, Column(Order = 1)]
        public string MNC { get; set; }

        [StringLength(100)]
        public string Brand { get; set; }

        [StringLength(250)]
        public string Operator { get; set; }
        
        [StringLength(50)]
        public string Status { get; set; }

        [StringLength(250)]
        public string Bands_MHz { get; set; }

        [StringLength(1000)]
        public string Notes { get; set; }

        [ForeignKey("MCC")]
        public virtual MobileContryCode MobileContryCode { get; set; }
    }
}
